<template>
  <main>
    <div class="remark">
      技术栈说明：
      <br />
      前端：Vue3 + Vite + Vue-Router + Vuex + Element-Plus
      <br />
      <br />
      服务端：
      <br />
      .net6.0 + EF Core + SqlServer + Swagger + JWT
    </div>
    <div class="item" @click="$router.push('/user/userInformation')">
      <span>医生管理</span>
    </div>
    <div class="item" @click="$router.push('/patientManagement')">
      <span>患者管理</span>
    </div>
    <div class="item" @click="$router.push('/record')">
      <span>住院管理</span>
    </div>
    <div class="item" @click="$router.push('/assessment')">
      <span>病历质量评估</span>
    </div>
    <div class="item" @click="$router.push('/event')">
      <span>不良事件管理</span>
    </div>
    <div class="item" @click="$router.push('/rehabilitativeGuidance')">
      <span>指导记录</span>
    </div>
  </main>
</template>
<script></script>
<style scoped lang="scss">
main {
  height: 900px;
  background-image: url("../assets/1.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: flex;
  gap: 10px;
  padding: 20px;
  align-items: center;
  position: relative;
  .remark {
    position: absolute;
    top: 50px;
    left: 50px;
    font-size: 24px;
    line-height: 40px;
  }
  .item {
    // position: absolute;
    width: 150px;
    height: 150px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    border-radius: 50%;
    aspect-ratio: 1/1;
    // background-color: #ccc;
    // border: 1px solid #ccc;
    cursor: pointer;
    &:hover {
      box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
      transform: scale(1.05);
      transition: transform 0.3s ease-in-out;
      font-weight: 700;
    }
    margin: 10px;
    &:nth-child(2) {
      background-image: url("../assets/2.jpg");
      background-repeat: no-repeat;
      background-size: 100% 100%;
      position: relative;
    }
    &:nth-child(3) {
      background-image: url("../assets/3.jpg");
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100% 120%;
      position: relative;
    }
    &:nth-child(4) {
      background-image: url("../assets/4.jpg");
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100% 120%;
      position: relative;
    }
    &:nth-child(5) {
      background-image: url("../assets/5.jpg");
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100% 120%;
      position: relative;
    }
    span {
      position: absolute;
      bottom: -30px;
      left: 50%;
      transform: translateX(-50%);
    }
  }
}
</style>
